import java.util.Scanner;

public class demo2 {
    public static void main(String[] args){
        Scanner scan = new Scanner(System.in);
        int row = scan.nextInt();
        int col = scan.nextInt();
        int[][] nums = new int[row][col];
        for(int i = 0; i < row; i++){
            for(int j = 0; j < col;j++){
                nums[i][j] = scan.nextInt();
            }
        }
    }
}
